Skip to main content

snakes.js

In this game, two players (1v1) can compete to see which can grow the largest snake, while also being able to eat the other player if he’s smaller.

I developed this game in one afternoon! I was on vacation with my girlfriend and she challenged me to develop a complete game while she took a nap after lunch. As soon as she fell asleep, I started creating this. When she woke up, we had a fresh game to play together!

Explore the source code here.

Try it! #

1v1 snake game

Settings

        

Instructions

Controls:
Snake 1: W A S D    Snake 2: I J K L

If you are the biggest snake and hit the head of the other snake, you win.
If you hit any other part of the snake, you lose.
If both snakes are the same size and hit their heads, it's a tie.